// SmallMediaLibrary.h

#pragma once

/* Remember to set up the Include dir to \baseclasses and the library dirs to \baseclasses\debug/release */

//http://stackoverflow.com/questions/3481713/how-to-get-started-with-directshow
//http://msdn.microsoft.com/en-us/library/ms867162.aspx
//http://www.codeproject.com/Articles/34663/DirectShow-Examples-for-Using-SampleGrabber-for-Gr
//http://www.codeproject.com/Articles/27403/Playing-audio-and-video-using-DirectShow
//http://fuckgpl.com/

#pragma comment (lib, "Quartz.lib")
#pragma comment (lib, "Strmiids.lib")
#pragma comment (lib, "ole32.lib")

#pragma warning( disable : 4995 )

#include <DShow.h>
#include <Windows.h>
#include <WinDef.h>


enum PixelFormat
{
	Invalid,
	UByteRGB24,
	UByteRGB32,
	UByteRGBA32,
	UByteRGB16
};


int GetBytesPerPixel(enum PixelFormat format);